package com.sp.scmdb.service;

import java.util.List;

import com.sp.scmdb.bean.SecurityTrainingBean;

/**
 * 
 * @author Jiang Shunming
 * 2013-01-07
 * 安全培训交底
 */
public interface SecurityTrainingService {
	
	/**
	 * 获取安全培训交底
	 * @param sysId 编号
	 * @return
	 */
	public SecurityTrainingBean getSecurityTraining(String sysId);
	
	/**
	 * 获取安全培训交底列表
	 * @return
	 */
	public List<SecurityTrainingBean> getListSecurityTraining(String hql);
	
	/**
	 * 创建安全培训交底
	 * @param securityTraining
	 * @return
	 */
	public String createSecurityTraining(SecurityTrainingBean securityTraining);
	
	/**
	 * 编辑安全培训交底
	 * @param securityTraining
	 * @return
	 */
	public String editSecurityTraining(SecurityTrainingBean securityTraining);
	
	/**
	 * 删除安全培训交底
	 * @param daySecurity
	 * @return
	 */
	public String delSecurityTraining(String[] sysId);
	
}
